package com.lenovo.testreport.gray.web.languageTest.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.lenovo.testreport.gray.web.languageTest.model.*;

import java.util.List;

/**
 * @author CJF
 * @date 2018/12
 * <p>
 * MyBatis逆向工程自动生成，@Param("tablename")为传入的表名手动添加
 */
//@Mapper
public interface GrayWebLanguageEnglishPropertiesCaseMapper {
    long countByExample(@Param("tablename") String tablename, GrayWebLanguageEnglishPropertiesCaseExample example);

    int deleteByExample(@Param("tablename") String tablename, GrayWebLanguageEnglishPropertiesCaseExample example);

    int deleteByPrimaryKey(@Param("tablename") String tablename, Integer cid);

    int insert(@Param("tablename") String tablename, GrayWebLanguageEnglishPropertiesCase record);

    int insertSelective(@Param("tablename") String tablename, GrayWebLanguageEnglishPropertiesCase record);

    List<GrayWebLanguageEnglishPropertiesCase> selectByExample(@Param("tablename") String tablename, GrayWebLanguageEnglishPropertiesCaseExample example);

    GrayWebLanguageEnglishPropertiesCase selectByPrimaryKey(@Param("tablename") String tablename, Integer cid);

    int updateByExampleSelective(@Param("tablename") String tablename, @Param("record") GrayWebLanguageEnglishPropertiesCase record, @Param("example") GrayWebLanguageEnglishPropertiesCaseExample example);

    int updateByExample(@Param("tablename") String tablename, @Param("record") GrayWebLanguageEnglishPropertiesCase record, @Param("example") GrayWebLanguageEnglishPropertiesCaseExample example);

    int updateByPrimaryKeySelective(@Param("tablename") String tablename, GrayWebLanguageEnglishPropertiesCase record);

    int updateByPrimaryKey(@Param("tablename") String tablename, GrayWebLanguageEnglishPropertiesCase record);

    List<GrayWebLanguageEnglishPropertiesCase> selectByRid(@Param("tablename") String tablename, int rid);

    List<GrayWebLanguageEnglishPropertiesCase> selectByCid(@Param("tablename") String tablename, int cid);
}